<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags" %>


<div style="border: 2px dotted #ddd">

    <s:label name="child.id"/>

	<s:url var="childGenerateReportUrl" action="generate"	namespace="/childReport" includeParams="none">
			<s:param name="childId" value="%{childId}"></s:param>
		</s:url>

    <div style="text-align:center">
		|
		<sj:a href="%{#childGenerateReportUrl}" targets="childReportSaveDiv">Generate a Report</sj:a>
		|
	</div>

	<div id="childReportSaveDiv">
		<div>
	  		<table>
	   			<tr>
	   				<td class="td1" style="width:5px">&nbsp;</td><td class="sub-title">Report</td>
	  			 </tr>
	  		</table>
		</div>
		<hr />
		<div>
			Click "Add Generate a Report" to generate a report
		</div>
	</div>
</div>